﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SysSet.aspx.cs" Inherits="WebSystem.SysSet"
    Theme="Normal" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>系统设置</title>
    <link href="../css/StyleforBase.css" type="text/css" rel="stylesheet" />
</head>
<body style="margin-left:0px; margin-top:0px;background-color: #fcf6ec">
    <form id="form1" runat="server">
        <%--<div class="normalnav">
            <div class="normalcontent" style="color: Black;">
                系统管理>>>系统设置</div>
        </div>--%>
        <div class="normalnav">
            <div class="normalcontent">
                <span style="color: #ffffff">系统管理>>></span><span style="color: #f6ff00">系统设置</span>
            </div>
        </div>
        <div class="normalmenu">
            <div class="normalmenucontent1">
                <table>
                    <tr>
                        <td>
                            <asp:ImageButton ID="ibtnedit" runat="server" ImageUrl="../Images/Basic/edit.gif"
                                ToolTip="修改" OnClick="ibtnedit_Click" />
                        </td>
                        
                        <td>
                            <asp:ImageButton ID="ibtnbackup" runat="server" ImageUrl="../Images/Basic/beifen.gif"
                                ToolTip="备份" OnClick="ibtnbackup_Click" /></td>
                        
                        <td>
                            <asp:ImageButton ID="ibtnrestore" runat="server" ImageUrl="../Images/Basic/huanyuan.gif"
                                ToolTip="还原" OnClick="ibtnrestore_Click" /></td>
                        
                    </tr>
                </table>
            </div>
        </div>
        <%--间隔--%>
        <table cellpadding="0" cellspacing="0" border="0" width="800px">
            <tr>
                <td style="height:20px">
                    <asp:Label ID="lblUserRoleID" runat="server" Visible="false"></asp:Label>
                    <asp:Label ID="lblUserRole" runat="server" Visible="false"></asp:Label>
                </td>
            </tr>
        </table>
        <div class="normalgrid">
            <table cellpadding="0" cellspacing="0" border="0" width="800px">
                <!--管理员角色名称-->
                <tr>
                    <td class="leftforregister">
                        上传文件类型：
                    </td>
                    <td class="centerforregister" style="width: 27%">
                        <asp:TextBox ID="txtUserRoleName" runat="server" Width="184px"  BorderColor="#1e83b6" BorderStyle="Solid" BorderWidth="1" Height="20px"></asp:TextBox>
                    </td>
                    <td class="rightforregister">
                        <span id="errspan1forfolder2">请填写上传文件类型如：rar|doc|txt</span><br />
                    </td>
                </tr>
                <!--管理员角色名称检测结果-->
                <tr height="20px">
                    <td class="leftforregister">
                    </td>
                    <td class="jyjgforregister" colspan="2">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidatorfortxtUserRoleName" ControlToValidate="txtUserRoleName"
                            runat="server" ErrorMessage="上传文件类型不能为空"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="leftforregister">
                        上传文件大小：
                    </td>
                    <td class="centerforregister" style="width: 27%">
                        <asp:TextBox ID="txtUploadSize" runat="server" Width="184px"  BorderColor="#1e83b6" BorderStyle="Solid" BorderWidth="1" Height="20px"></asp:TextBox>
                    </td>
                    <td class="rightforregister">
                        <span id="errspan1forfolder">请填写上传文件大小如：900000 单位：KB</span><br />
                    </td>
                </tr>
                <!--管理员角色名称检测结果-->
                <tr height="20px">
                    <td class="leftforregister">
                    </td>
                    <td class="jyjgforregister" colspan="2">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidatorfortxtUploadSize" ControlToValidate="txtUploadSize"
                            runat="server" ErrorMessage="上传文件大小不能为空"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidatorfortxtUploadSize" runat="server"
                            ControlToValidate="txtUploadSize" CssClass="Text" ErrorMessage="格式不正确！应为大于零的整数"
                            ValidationExpression="^\d+$"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td class="leftforregister">
                        备份还原文件路径：
                    </td>
                    <td class="centerforregister" style="width: 27%">
                        <asp:TextBox ID="tbxBakLoad" runat="server" Width="184px"  BorderColor="#1e83b6" BorderStyle="Solid" BorderWidth="1" Height="20px"></asp:TextBox>
                    </td>
                    <td class="rightforregister">
                        <span id="errspan1forfolder3">请填写备份还原文件路径如：C:\bbb\a.bak，（此路径为数据库服务器上路径，请确保服务器上存在相应文件夹）</span><br />
                    </td>
                </tr>
                <!--管理员角色名称检测结果-->
                <tr style="height:20px">
                    <td class="leftforregister">
                    </td>
                    <td class="jyjgforregister" colspan="2">
                        <asp:Label ID="lbl1tip" runat="server"></asp:Label>
                        <asp:Label ID="lbl2tip" runat="server"></asp:Label>
                        <%-- <asp:RequiredFieldValidator ID="RequiredFieldValidatorfortxtUploadSize2" ControlToValidate="tbxBakLoad"  runat="server" ErrorMessage="备份文件路径不能为空"></asp:RequiredFieldValidator>--%>
                    </td>
                </tr>
                <%--按钮提交--%>
                <tr>
                    <td class="leftforregister">
                    </td>
                    <td class="jyjgforregister" colspan="2">
                    </td>
                </tr>
                <tr>
                    <td style="height:18px" colspan="3">
                        友情提示：还原操作需重启站点IIS已获得与数据库的最新链接</td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
